package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallOrderItemModel = (*customMallOrderItemModel)(nil)

type (
	// MallOrderItemModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallOrderItemModel.
	MallOrderItemModel interface {
		mallOrderItemModel
	}

	customMallOrderItemModel struct {
		*defaultMallOrderItemModel
	}
)

// NewMallOrderItemModel returns a model for the database table.
func NewMallOrderItemModel(conn sqlx.SqlConn) MallOrderItemModel {
	return &customMallOrderItemModel{
		defaultMallOrderItemModel: newMallOrderItemModel(conn),
	}
}
